home *** CD-ROM | disk | FTP | other *** search
- (transcript "Reminder installation by Matti Rintala")
-
- (set @default-dest "")
-
- (set remdir "SYS:Utilities")
- (set checkdir "SYS:WBStartup")
- (set libsdir "LIBS:")
- (set docdir "SYS:Utilities")
- (set arexxdir "REXX:")
- (set databool 1)
- (set defdata "S:Reminder.data")
- (set datatool "FILE")
- (set noreqtool "NOREQTOOLS")
- (set noarexxtool "NOAREXX")
- (set intervtool "INTERVAL")
- (set maxgrouptool "MAXGROUP")
- (set maxwidthtool "MAXWIDTH")
- (set defmaxwidth 30)
- (set defmaxgroup 4)
- (set definterv 8)
-
- (set remdir (askdir (prompt "Where would you like to put Reminder event editor?")
- (help "Best place is somewhere where your other utility "
- "programs are\n\n" @askdir-help)
- (default remdir)))
-
- (set remdest (tackon remdir "Reminder"))
-
- (copylib (source "Reminder")
- (dest remdir)
- (prompt "About to copy Reminder")
- (help @copylib-help)
- (infos)
- (confirm))
-
- (set databool (askbool (prompt "Are you satisfied with the default database filename "
- defdata " ?")
- (help "Database holds all events you've entered. Answering 'No' "
- "here lets you to enter a new filename for both Reminder and "
- "ReminderCheck.")
- (default databool)))
-
- (if databool
- (tooltype (prompt "Setting default database file for Reminder")
- (dest remdest)
- (noposition)
- (settooltype ("(%s=%s)" datatool defdata) ""))
- (
- (set defdata (askfile (prompt "Which is the name of Reminder database?")
- (help "Database holds all events you've entered.")
- (default defdata)))
- (tooltype (prompt "Setting default database file for Reminder")
- (help "Sorry, your on your own.")
- (dest remdest)
- (noposition)
- (settooltype datatool defdata))))
-
-
- (set checkdir (askdir (prompt "Where would you like to put ReminderCheck?")
- (help "Placing it in SYS:WBStartup will run it every "
- "time you boot.\n\n" @askdir-help)
- (default checkdir)))
-
- (set checkdest (tackon checkdir "ReminderCheck"))
-
- (copylib (source "ReminderCheck")
- (dest checkdir)
- (prompt "About to copy ReminderCheck")
- (help @copylib-help)
- (infos)
- (confirm))
-
- (if databool
- (tooltype (prompt "Setting default database file for ReminderCheck")
- (dest checkdest)
- (noposition)
- (settooltype ("(%s=%s)" datatool defdata) ""))
- (tooltype (prompt "Setting default database file for ReminderCheck")
- (help "Sorry, your on your own.")
- (dest checkdest)
- (noposition)
- (settooltype datatool defdata)))
-
- (set checktools (askoptions (prompt "Select tooltypes you wish to use with "
- "ReminderCheck.")
- (help intervtool ": Set minimum time between two "
- "successive remindings.\n\n"
- noreqtool ": ReminderCheck does not use "
- "ReqTools.library if this is selected.\n\n"
- noarexxtool ": ReminderCheck does not use ARexx if "
- "this is selected.\n\n"
- maxgrouptool ": Maximum number of events in one "
- "group requester\n (choose small enough to "
- "ensure that requester fits the screen). 0 means "
- "no group requesters.\n\n"
- maxwidthtool ": Maximum width of lines in "
- "requesters. Default is 30.\n\n"
- @askoptions-help)
- (choices intervtool noreqtool noarexxtool maxgrouptool
- maxwidthtool)
- (default 0)))
-
- (if (IN checktools 0)
- (
- (set definterv (asknumber (prompt "Enter minimum time between two remindings "
- "(in hours).")
- (help @asknumber-help)
- (range 0 100)
- (default definterv)))
- (tooltype (prompt "Setting " intervtool " tooltype for ReminderCheck")
- (help "Sorry, no help.")
- (dest checkdest)
- (noposition)
- (settooltype intervtool (cat definterv))))
- (tooltype (prompt "Setting (" intervtool ") tooltype proto for ReminderCheck")
- (help "Sorry, no help.")
- (dest checkdest)
- (noposition)
- (settooltype ("(%s=%s)" intervtool (cat definterv)))))
-
- (if (IN checktools 1)
- (tooltype (prompt "Setting " noreqtool " tooltype for ReminderCheck")
- (help "Sorry, no help.")
- (dest checkdest)
- (settooltype noreqtool ""))
- (tooltype (prompt "Setting (" noreqtool ") tooltype for ReminderCheck")
- (help "Sorry, no help.")
- (dest checkdest)
- (settooltype ("(%s)" noreqtool) "")))
-
- (if (IN checktools 2)
- (tooltype (prompt "Setting " noarexxtool " tooltype for ReminderCheck")
- (help "Sorry, no help.")
- (dest checkdest)
- (settooltype noarexxtool ""))
- (tooltype (prompt "Setting (" noarexxtool ") tooltype for ReminderCheck")
- (help "Sorry, no help.")
- (dest checkdest)
- (settooltype ("(%s)" noarexxtool) "")))
-
- (if (IN checktools 3)
- (
- (set defmaxgroup (asknumber (prompt "Enter maximum number of events in one "
- "group requester (small enough so that "
- "requester fits the screen). 0 means "
- "no group requesters.")
- (help @asknumber-help)
- (range 0 30)
- (default defmaxgroup)))
- (tooltype (prompt "Setting " maxgrouptool " tooltype for ReminderCheck")
- (help "Sorry, no help.")
- (dest checkdest)
- (noposition)
- (settooltype maxgrouptool (cat defmaxgroup))))
- (tooltype (prompt "Setting (" maxgrouptool ") tooltype proto for ReminderCheck")
- (help "Sorry, no help.")
- (dest checkdest)
- (noposition)
- (settooltype ("(%s=%s)" maxgrouptool (cat defmaxgroup)))))
-
- (if (IN checktools 4)
- (
- (set defmaxwidth (asknumber (prompt "Enter maximum width of lines in "
- "requesters.")
- (help @asknumber-help)
- (range 19 200)
- (default defmaxwidth)))
- (tooltype (prompt "Setting " maxwidthtool " tooltype for ReminderCheck")
- (help "Sorry, no help.")
- (dest checkdest)
- (noposition)
- (settooltype maxwidthtool (cat defmaxwidth))))
- (tooltype (prompt "Setting (" maxwidthtool ") tooltype proto for ReminderCheck")
- (help "Sorry, no help.")
- (dest checkdest)
- (noposition)
- (settooltype ("(%s=%s)" maxwidthtool (cat defmaxwidth)))))
-
-
- (copylib (source "ReqTools.library")
- (dest libsdir)
- (prompt "About to copy ReqTools.library by Nico François")
- (Help @copylib-help)
- (confirm))
-
- (if (askbool (prompt "Would you like to install the document files?")
- (help "If you answer Yes, you'll be able to say where to copy "
- "document files. If you are an Expert user, you can also "
- "tell which files you want to copy.")
- (default 0))
- (
- (set docdir (askdir (prompt "Where do you want the document files to be put?")
- (help @askdir-help)
- (default docdir)))
- (copyfiles (prompt "Which document files would you like to copy?")
- (help @copyfiles-help)
- (source "")
- (dest docdir)
- (choices "Reminder.doc"
- "Reminder.tex" "Reminder.dvi"
- "Reminder.guide"
- "QuickRef.doc")
- (infos)
- (confirm))))
-
-
- (if (askbool (prompt "Would you like to install the ARexx scripts?")
- (help "If you answer Yes, you'll be able to say where to put "
- "the ARexx scripts coming with Reminder. If you are an "
- "Expert user, you can also tell which ARexx scripts to copy.")
- (default 0))
- (
- (set arexxdir (askdir (prompt "Where do you want the ARexx scripts to be put?")
- (help @askdir-help)
- (default arexxdir)))
- (copyfiles (prompt "Which ARexx script files would you like to copy?")
- (help @copyfiles-help)
- (source "")
- (dest arexxdir)
- (choices "RemPlay.rexx" "RemSay.rexx")
- (confirm))))
-
-
-
-